How to Run Java Applications

There are three parts to running a Java application 
packaged in a JAR file.

1. The game has been pre-compiled to Java bytecode.  To play
   the game, you'll need a Java interpreter.  Although there
   are many different Java interpreters available, these
   instructions assume that you are using Sun's JRE, version
   1.2 and above.  On the command line, "java -version" will
   print version information for the Java that you have, if 
   it is installed on your system.

2. The game classes have been archived into a JAR file.  To
   use the JAR file, when you invoke Java you will need to
   include the file in your classpath.  Assuming that you
   are in the directory that contains the ophelia.0.1.2.jar
   file, adding "-classpath ophelia.0.1.2.jar" to the
   command will do this.

3. You will need to specify which class to run.  The game
   is named "game.Ophelia".  This goes at the end of the
   command line.

     Our final commmand line, for someone using Sun's java
and in the same directory that contains the JAR file, looks 
like this:
"java -classpath ophelia.0.1.2.jar game.Ophelia"

Notes:

 - Although it is written in a more complicated way, you
   can use the included "ophelia" unix shell script file to 
   automatically runs this command for you.  You can use it 
   if it makes things easier for you, or you can ignore it 
   if it makes things more complicated.

 - I assume that there is a way to specify command-line
   arguments when using a GUI-based OS like MacOS or
   MS Windows.  However, I don't know exactly how this
   is done.

 - This game runs in Kaffe 1.0.5, which allegedly is the
   equivalent of Sun's Java 1.1.  However, I've never
   actually tested it using Java 1.1.  It does run fine in
   Java 1.2.

 - If you do not have Java and you want to obtain it, you 
   can do so at http://java.sun.com/ 
